package Fruit;

public class FruitTest {
    public static void main(String[] args) {
        Fruit fruits=new Fruit();
        Fruit fruit=new Lemon("柠檬","广东","30元");
        Fruit fruit1=new Apple("苹果","昭通","10元");
        Fruit fruit2 = new Cherry("车厘子","智利","50元");
        System.out.println(fruit.toString());
        System.out.println(fruit1.toString());
        System.out.println(fruit2.toString());
        fruit.wash();
        fruit1.wash();
        fruit2.wash();
        fruit.peek();
        fruit1.peek();
        fruit.juice();
        fruit1.juice();
        fruit2.juice();




    }
}
